{% set foo = [0] %}
{% if foo == [9] %}9{% elif deferred && foo.append(1) %}1{% elif deferred && foo.append(2) %}2{% endif %}
{{ foo }}
